/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Casting;

import java.util.Scanner;

/**
 *
 * @author Dennis
 */
public class RaizNuevo {
    public static void main(String[ ] args){
         
        int numero = 100;
         
        if (args. length > 0) {
            numero = Integer.parseInt(args[0] );
        }
        
        /* 
        Scanner miScanner = new Scanner(System.in);
        
        System.out.println("Ingrese un numero: ");
        int numero = miScanner. nextInt() ;
        */ 
        
        System. out.println("La raíz cuadrada de "
             + numero
             + " es "
             + Math.sqrt(numero) );
     }
}
